package com.yy.wga.admin.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.wga.admin.service.pojo.AdminRoleDO;
import com.yy.wga.mp.module.admin.request.AdminRolePageRequest;
import com.yy.wga.mp.module.admin.request.AdminRoleSaveMenuRequest;
import com.yy.wga.mp.module.admin.request.AdminRoleUpdateStatusRequest;
import com.yy.wga.mp.module.admin.response.AdminRolePageResponse;

/**
 * 角色信息(AdminRole)表服务接口
 *
 * @author guochao
 * @since 2024-11-06 22:56:22
 */
public interface AdminRoleService extends IService<AdminRoleDO> {
    /**
     * 分页
     * @param request
     * @return
     */
    PageBean<AdminRolePageResponse> pageData(AdminRolePageRequest request);

    /**
     * 删除
     * @param id
     */
    void del(Long id);

    /**
     * 保存权限
     * @param request
     */
    void saveMenu(AdminRoleSaveMenuRequest request);

    /**
     * 修改状态
     * @param request
     */
    void updateStatus(AdminRoleUpdateStatusRequest request);
}
